package com.huajx.student.face.model;

import com.ha.facecamera.configserver.pojo.Face;

public class StudentFace {
	 
	private String name;//学生姓名  
	
	private String cardId;//考勤卡号
	
	private String path;//图片地址
	
	private int role;//角色
	
	private Face face;
	public StudentFace(String name,String cardId,int role ,String path){
		this.name=name;
		this.cardId=cardId;
		this.role=role;
		this.path=path;
		if(face==null){
			face=new Face();
			face.setId(cardId);
			face.setName(name);
			face.setRole(role);
			face.setJpgFilePath(new String[]{path});
		}
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public Face getFace() {
		return face;
	}
	public void setFace(Face face) {
		this.face = face;
	}
	
	

}
